package com.cennavi.minemapdemo.bean;

import java.util.List;

public class DataBean {

    private String type;
    private List<FeaturesBean> features;

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public List<FeaturesBean> getFeatures() {
        return features;
    }

    public void setFeatures(List<FeaturesBean> features) {
        this.features = features;
    }

    public static class FeaturesBean {

        private GeometryBean geometry;
        private String type;
        private PropertiesBean properties;

        public GeometryBean getGeometry() {
            return geometry;
        }

        public void setGeometry(GeometryBean geometry) {
            this.geometry = geometry;
        }

        public String getType() {
            return type;
        }

        public void setType(String type) {
            this.type = type;
        }

        public PropertiesBean getProperties() {
            return properties;
        }

        public void setProperties(PropertiesBean properties) {
            this.properties = properties;
        }

        public static class GeometryBean {
            /**
             * type : Polygon
             * coordinates : [[[106.8827,27.6448],[106.8823,27.6405],[106.881,27.6363],[106.879,27.6325],[106.8763,27.6292],[106.8729,27.6265],[106.8691,27.6244],[106.865,27.6232],[106.8607,27.6228],[106.8564,27.6232],[106.8523,27.6244],[106.8485,27.6265],[106.8451,27.6292],[106.8424,27.6325],[106.8404,27.6363],[106.8391,27.6405],[106.8387,27.6448],[106.8391,27.649],[106.8404,27.6532],[106.8424,27.657],[106.8451,27.6603],[106.8485,27.663],[106.8523,27.6651],[106.8564,27.6663],[106.8607,27.6668],[106.865,27.6663],[106.8691,27.6651],[106.8729,27.663],[106.8763,27.6603],[106.879,27.657],[106.881,27.6532],[106.8823,27.649],[106.8827,27.6448]]]
             */

            private String type;
            private List<List<List<Double>>> coordinates;

            public String getType() {
                return type;
            }

            public void setType(String type) {
                this.type = type;
            }

            public List<List<List<Double>>> getCoordinates() {
                return coordinates;
            }

            public void setCoordinates(List<List<List<Double>>> coordinates) {
                this.coordinates = coordinates;
            }
        }

        public static class PropertiesBean {
            /**
             * flag : 0
             * areaName : 红花岗区
             * count : 2567
             * hs : 2567
             * type : Feature
             */

            private String flag;
            private String areaName;
            private int count;
            private int hs;
            private String type;

            public String getFlag() {
                return flag;
            }

            public void setFlag(String flag) {
                this.flag = flag;
            }

            public String getAreaName() {
                return areaName;
            }

            public void setAreaName(String areaName) {
                this.areaName = areaName;
            }

            public int getCount() {
                return count;
            }

            public void setCount(int count) {
                this.count = count;
            }

            public int getHs() {
                return hs;
            }

            public void setHs(int hs) {
                this.hs = hs;
            }

            public String getType() {
                return type;
            }

            public void setType(String type) {
                this.type = type;
            }
        }
    }
}
